projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74f9c1a
)
Fix dired-test-bug22694
author
Ken Brown
<kbrown@cornell.edu>
Wed, 27 Jul 2016 16:28:14 +0000
(12:28 -0400)
committer
Ken Brown
<kbrown@cornell.edu>
Wed, 27 Jul 2016 16:30:43 +0000
(12:30 -0400)
* test/lisp/dired-tests.el (dired-test-bug22694): Delete the
"bug22694" directory, if it exists, before running the test. It
might be left over from a previous aborted run of the test.
test/lisp/dired-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/dired-tests.el
b/test/lisp/dired-tests.el
index d66a9caedd3fe8f18264ef4304aaaf4cfa9b3258..6dd4bb91bc2776f906cdeb77719be2f54c69abeb 100644
(file)
--- a/
test/lisp/dired-tests.el
+++ b/
test/lisp/dired-tests.el
@@
-38,6
+38,8
@@
(full-name (expand-file-name file dir))
(regexp "bar")
(dired-always-read-filesystem t))
+ (if (file-exists-p dir)
+ (delete-directory dir 'recursive))
(make-directory dir)
(with-temp-file full-name (insert "foo"))
(find-file-noselect full-name)